package com.newtouch.bxzs.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newtouch.bxzs.common.base.model.User;
import com.newtouch.bxzs.common.base.model.bo.UserMenuListBO;
import com.newtouch.bxzs.common.base.model.vo.GetUserMenuListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * UserMapper:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/14 10:30</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

	/**
	 * 获取用户所有菜单
	 *
	 * @param getUserMenuListVO
	 *            参数
	 * @return UserMenuListBO
	 */
	List<UserMenuListBO> getUserMenuList(@Param("getUserMenuListVO") GetUserMenuListVO getUserMenuListVO);
}
